function goTopEx(){
        var obj=document.getElementById("goTopBtn");
        function getScrollTop(){
        				var scrollTop = window.pageYOffset|| document.documentElement.scrollTop || document.body.scrollTop;
                return scrollTop;
            }
        function setScrollTop(value){
        			if (document.body && document.body.scrollTop)
               	document.body.scrollTop=value;
              if (document.documentElement && document.documentElement.scrollTop)
               	document.documentElement.scrollTop=value;
            }
        window.onscroll=function(){getScrollTop()>0?obj.style.display="":obj.style.display="none";}
        obj.onclick=function(){
            var goTop=setInterval(scrollMove,10);
            function scrollMove(){
                    setScrollTop(getScrollTop()/1.1);
                    if(getScrollTop()<1)clearInterval(goTop);
                }
        }
    }